package com.ruoyi.reportInfo.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流企业专线信息业务对象 industrial_logistics_company_line
 *
 * @author yangzhen
 * @date 2025-11-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "IndustrialLogisticsCompanyLineBo", description = "物流企业专线信息业务对象")
public class IndustrialLogisticsCompanyLineBo extends BaseEntity {

    /**
     * 主键id
     */
    @Schema(description = "主键id")
    @NotBlank(message = "主键id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 场站名称
     */
    @Schema(description = "场站名称")
    @NotBlank(message = "场站名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String companyId;

    /**
     * 起点
     */
    @Schema(description = "起点")
    @NotBlank(message = "起点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String startPoint;

    /**
     * 终点
     */
    @Schema(description = "终点")
    @NotBlank(message = "终点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String endPoint;

    /**
     * 类型
     */
    @Schema(description = "类型")
    @NotBlank(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lineType;

    /**
     * 车辆数量
     */
    @Schema(description = "车辆数量")
    @NotNull(message = "车辆数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long carCount;

    /**
     * 是否省内专线
     */
    @Schema(description = "是否省内专线")
    @NotNull(message = "是否省内专线不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long provinceType;

    /**
     * 数据收集时间
     */
    @Schema(description = "数据收集时间")
    @NotNull(message = "数据收集时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date reportCollectDate;

    /**
     * 数据来源
     */
    @Schema(description = "数据来源")
    private String dataSources;
    /**
     * 入住平台状态
     */
    @Schema(description = "入住平台状态")
    private String checkInStatus;
    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    private String companyName;
}
